package com.owen.server;


import com.owen.pojo.User;

import java.util.List;

public interface UserServer {

    public User login(String username, String password);

    public List<User> find();

    public Integer disable(Integer id);

    public Integer enable(Integer id);

    public Integer userDelete(Integer id);

    public List<User> findByName(User user);

    public Integer updatepassword(User user);

    public Integer addUser(User user);

    public Integer deleteBatch(Integer [] ids);
}
